package com.examiner.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Set;

@Configuration
@EnableConfigurationProperties
@ConfigurationProperties(prefix = "token.filter")
public class TokenFilterUrlConfigProperties {

    // 拿到 token 无需验证的 urls
    private Set<String> urls;

    public void setUrls(Set<String> urls) {
        this.urls = urls;
    }

    public Set<String> getUrls() {
        return urls;
    }
}
